package io.github.yotta.notice.common.channel;

import io.github.yotta.notice.common.dto.BaseNoticeRequest;
import io.github.yotta.notice.common.dto.NoticeSendResponse;
import io.github.yotta.common.api.model.Response;

/**
 * @author yotta
 * @date 2023/4/30 10:59
 * 通知渠道
 */
public interface NoticeChannel<R extends BaseNoticeRequest> {

    Response<NoticeSendResponse> send(R request);

}
